package cn.trip.dao.root;



import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.trip.pojo.Trip_product;
import cn.trip.pojo.Trip_root;

public interface RootMapper {
	
	public Trip_root getRootList(@Param("roleCode")String roleCode
								,@Param("rolePassword")String rolePassword);
	
	
	public int modify(@Param("rolePassword")String password,@Param("roleCode")String roleCode,@Param("roleName")String roleName);
	
	public List<Trip_product> getList(@Param("createBy")String createBy,
								@Param(value="from")Integer currentPageNo,
								@Param(value="pageSize")Integer pageSize);
	
	public int getListCount(@Param("createBy")String createBy);
	
	public Trip_product getProduct(@Param("id")Integer id);
	
	public int updateStatus(@Param("status")Integer status,@Param("id")Integer id);
	
	public List<Trip_product> getFieldList();
	
	public List<Trip_product> getHotelList();
	
	public List<Trip_product> getCaterList();
	
}
